package mvcc

type IRow interface {
	GetData() map[string]interface{}
	GetRowId() int64
	SetValue(column string, value interface{})
	SetValues(value map[string]interface{})
	SetRowId(id int64)
	SetTrId(id int64)
	SetRollPtr(row IRow)
	GetTrId() int64
	GetRollPtr() IRow
}

type ITr interface {
	Begin() error
	RollBack() error
	Commit() error
}
